import { Component, Input } from '@angular/core';
import { INoRowsOverlayAngularComp } from '@ag-grid-community/angular';

@Component({
  selector: 'apes-noRows-overlay',
  template:
      `
    <div class="ag-overlay-loading-center noRows">
      <apes-empty></apes-empty>
    </div>
  `,
  styles: [`
    .noRows {
      width: 300px;
      text-align: center;
      border-radius: 0;
      border: 0;
      padding: 30px 50px;
      box-shadow: 0 0 black;
    }
  `],
})
export class ApesNoRowsOverlayComponent implements INoRowsOverlayAngularComp {
  private params: any;

  agInit(params): void {
    this.params = params;
  }
}
